package com.headwind.logistics.permission.service.intl;

import com.headwind.logistics.common.pojo.Menu;
import com.headwind.logistics.permission.pojo.MenuTree;
import com.headwind.logistics.common.pojo.Role;

import java.util.List;

/**
 * @Author 小恶魔
 * @Date 2020-07-14 21:39
 * @Version 1.0
 * @DESCRIPTION 填写类作用描述
 */
public interface RoleServiceIntl {

    List<Role> queryRoleMenu(Integer page, Integer rows);

    List<Menu> queryMenuByRoleId(Long roleId);

    List<Role> queryRoleByMenuId(Long menuId);

    List<MenuTree> queryAllRecursion(Long roleId);

    int addMenuRole(Long roleId,String menuId);

    int deleteMenuRole(Long roleId,Long menuId,Long menuManagerId);

    List<Role> queryAllRole();

}
